<HTML>
	<HEAD>
		<!--
This dialog box was created by Jonathan Snook.
http://www.snook.ca/

Description:
This is a colour picker dialog box created for use within the DHTML
Editing Component but could theoretically be used with anything.

It has been designed for use in Internet Explorer using the showModalDialog
function and the code is provided as-is. If your machine blows up after
using this code, chances are it wasn't my code. :)

This code is based on the selcolor dialog box that comes with the DEC
Samples from Microsoft.

-->
		<TITLE>Select Color</TITLE>
		<LINK href="../css/fck_dialog.css" type="text/css" rel="stylesheet">
			<STYLE TYPE="text/css">
 .selcolor  {cursor:hand}
 TD     {height:15px; width:15px;}
			</STYLE>
			<SCRIPT LANGUAGE="JavaScript" FOR="ColorTable" EVENT="onclick">
  selhicolor.style.backgroundColor = event.srcElement.title;
  //selhicolortext.innerText = event.srcElement.title;
  selcolor.value = event.srcElement.title;
			</SCRIPT>
			<SCRIPT LANGUAGE="JavaScript" FOR="ColorTable" EVENT="onmouseover">
  hicolortext.innerText = event.srcElement.title;
  hicolor.style.backgroundColor = event.srcElement.title;
			</SCRIPT>
			<SCRIPT LANGUAGE="JavaScript" FOR="ColorTable" EVENT="onmouseout">
  hicolortext.innerText = "";
  hicolor.style.backgroundColor = "";
			</SCRIPT>
			<SCRIPT LANGUAGE="JavaScript" FOR="btnOK" EVENT="onclick">
  window.returnValue = selcolor.value;
  window.close();
			</SCRIPT>
			<SCRIPT LANGUAGE="JavaScript" FOR="btnClear" EVENT="onclick">
  selhicolor.style.backgroundColor = '';
  //selhicolortext.innerText='';
  selcolor.value='';
			</SCRIPT>
			<SCRIPT LANGUAGE="JavaScript" FOR="selcolor" EVENT="onpropertychange">
  try{selhicolor.style.backgroundColor = selcolor.value;}
  catch(e) {}
			</SCRIPT>
	</HEAD>
	<BODY bgcolor="ThreeDFace" leftmargin="7" topmargin="7">
		<table BORDER="0" CELLSPACING="0" CELLPADDING="0">
			<tr>
				<td VALIGN="top" align="left" nowrap style="font-family:Arial; font-size:11px;">
					<TABLE ID="ColorTable" BORDER="0" CELLSPACING="0" CELLPADDING="0" width="270" class="selcolor">
						<tr>
							<TD BGCOLOR="#000000" TITLE="#000000"></TD>
							<TD BGCOLOR="#003300" TITLE="#003300"></TD>
							<TD BGCOLOR="#006600" TITLE="#006600"></TD>
							<TD BGCOLOR="#009900" TITLE="#009900"></TD>
							<TD BGCOLOR="#00CC00" TITLE="#00CC00"></TD>
							<TD BGCOLOR="#00FF00" TITLE="#00FF00"></TD>
							<TD BGCOLOR="#330000" TITLE="#330000"></TD>
							<TD BGCOLOR="#333300" TITLE="#333300"></TD>
							<TD BGCOLOR="#336600" TITLE="#336600"></TD>
							<TD BGCOLOR="#339900" TITLE="#339900"></TD>
							<TD BGCOLOR="#33CC00" TITLE="#33CC00"></TD>
							<TD BGCOLOR="#33FF00" TITLE="#33FF00"></TD>
							<TD BGCOLOR="#660000" TITLE="#660000"></TD>
							<TD BGCOLOR="#663300" TITLE="#663300"></TD>
							<TD BGCOLOR="#666600" TITLE="#666600"></TD>
							<TD BGCOLOR="#669900" TITLE="#669900"></TD>
							<TD BGCOLOR="#66CC00" TITLE="#66CC00"></TD>
							<TD BGCOLOR="#66FF00" TITLE="#66FF00"></TD>
						</tr>
						<tr>
							<TD BGCOLOR="#000033" TITLE="#000033"></TD>
							<TD BGCOLOR="#003333" TITLE="#003333"></TD>
							<TD BGCOLOR="#006633" TITLE="#006633"></TD>
							<TD BGCOLOR="#009933" TITLE="#009933"></TD>
							<TD BGCOLOR="#00CC33" TITLE="#00CC33"></TD>
							<TD BGCOLOR="#00FF33" TITLE="#00FF33"></TD>
							<TD BGCOLOR="#330033" TITLE="#330033"></TD>
							<TD BGCOLOR="#333333" TITLE="#333333"></TD>
							<TD BGCOLOR="#336633" TITLE="#336633"></TD>
							<TD BGCOLOR="#339933" TITLE="#339933"></TD>
							<TD BGCOLOR="#33CC33" TITLE="#33CC33"></TD>
							<TD BGCOLOR="#33FF33" TITLE="#33FF33"></TD>
							<TD BGCOLOR="#660033" TITLE="#660033"></TD>
							<TD BGCOLOR="#663333" TITLE="#663333"></TD>
							<TD BGCOLOR="#666633" TITLE="#666633"></TD>
							<TD BGCOLOR="#669933" TITLE="#669933"></TD>
							<TD BGCOLOR="#66CC33" TITLE="#66CC33"></TD>
							<TD BGCOLOR="#66FF33" TITLE="#66FF33"></TD>
						</tr>
						<tr>
							<TD BGCOLOR="#000066" TITLE="#000066"></TD>
							<TD BGCOLOR="#003366" TITLE="#003366"></TD>
							<TD BGCOLOR="#006666" TITLE="#006666"></TD>
							<TD BGCOLOR="#009966" TITLE="#009966"></TD>
							<TD BGCOLOR="#00CC66" TITLE="#00CC66"></TD>
							<TD BGCOLOR="#00FF66" TITLE="#00FF66"></TD>
							<TD BGCOLOR="#330066" TITLE="#330066"></TD>
							<TD BGCOLOR="#333366" TITLE="#333366"></TD>
							<TD BGCOLOR="#336666" TITLE="#336666"></TD>
							<TD BGCOLOR="#339966" TITLE="#339966"></TD>
							<TD BGCOLOR="#33CC66" TITLE="#33CC66"></TD>
							<TD BGCOLOR="#33FF66" TITLE="#33FF66"></TD>
							<TD BGCOLOR="#660066" TITLE="#660066"></TD>
							<TD BGCOLOR="#663366" TITLE="#663366"></TD>
							<TD BGCOLOR="#666666" TITLE="#666666"></TD>
							<TD BGCOLOR="#669966" TITLE="#669966"></TD>
							<TD BGCOLOR="#66CC66" TITLE="#66CC66"></TD>
							<TD BGCOLOR="#66FF66" TITLE="#66FF66"></TD>
						</tr>
						<tr>
							<TD BGCOLOR="#000099" TITLE="#000099"></TD>
							<TD BGCOLOR="#003399" TITLE="#003399"></TD>
							<TD BGCOLOR="#006699" TITLE="#006699"></TD>
							<TD BGCOLOR="#009999" TITLE="#009999"></TD>
							<TD BGCOLOR="#00CC99" TITLE="#00CC99"></TD>
							<TD BGCOLOR="#00FF99" TITLE="#00FF99"></TD>
							<TD BGCOLOR="#330099" TITLE="#330099"></TD>
							<TD BGCOLOR="#333399" TITLE="#333399"></TD>
							<TD BGCOLOR="#336699" TITLE="#336699"></TD>
							<TD BGCOLOR="#339999" TITLE="#339999"></TD>
							<TD BGCOLOR="#33CC99" TITLE="#33CC99"></TD>
							<TD BGCOLOR="#33FF99" TITLE="#33FF99"></TD>
							<TD BGCOLOR="#660099" TITLE="#660099"></TD>
							<TD BGCOLOR="#663399" TITLE="#663399"></TD>
							<TD BGCOLOR="#666699" TITLE="#666699"></TD>
							<TD BGCOLOR="#669999" TITLE="#669999"></TD>
							<TD BGCOLOR="#66CC99" TITLE="#66CC99"></TD>
							<TD BGCOLOR="#66FF99" TITLE="#66FF99"></TD>
						</tr>
						<tr>
							<TD BGCOLOR="#0000CC" TITLE="#0000CC"></TD>
							<TD BGCOLOR="#0033CC" TITLE="#0033CC"></TD>
							<TD BGCOLOR="#0066CC" TITLE="#0066CC"></TD>
							<TD BGCOLOR="#0099CC" TITLE="#0099CC"></TD>
							<TD BGCOLOR="#00CCCC" TITLE="#00CCCC"></TD>
							<TD BGCOLOR="#00FFCC" TITLE="#00FFCC"></TD>
							<TD BGCOLOR="#3300CC" TITLE="#3300CC"></TD>
							<TD BGCOLOR="#3333CC" TITLE="#3333CC"></TD>
							<TD BGCOLOR="#3366CC" TITLE="#3366CC"></TD>
							<TD BGCOLOR="#3399CC" TITLE="#3399CC"></TD>
							<TD BGCOLOR="#33CCCC" TITLE="#33CCCC"></TD>
							<TD BGCOLOR="#33FFCC" TITLE="#33FFCC"></TD>
							<TD BGCOLOR="#6600CC" TITLE="#6600CC"></TD>
							<TD BGCOLOR="#6633CC" TITLE="#6633CC"></TD>
							<TD BGCOLOR="#6666CC" TITLE="#6666CC"></TD>
							<TD BGCOLOR="#6699CC" TITLE="#6699CC"></TD>
							<TD BGCOLOR="#66CCCC" TITLE="#66CCCC"></TD>
							<TD BGCOLOR="#66FFCC" TITLE="#66FFCC"></TD>
						</tr>
						<tr>
							<TD BGCOLOR="#0000FF" TITLE="#0000FF"></TD>
							<TD BGCOLOR="#0033FF" TITLE="#0033FF"></TD>
							<TD BGCOLOR="#0066FF" TITLE="#0066FF"></TD>
							<TD BGCOLOR="#0099FF" TITLE="#0099FF"></TD>
							<TD BGCOLOR="#00CCFF" TITLE="#00CCFF"></TD>
							<TD BGCOLOR="#00FFFF" TITLE="#00FFFF"></TD>
							<TD BGCOLOR="#3300FF" TITLE="#3300FF"></TD>
							<TD BGCOLOR="#3333FF" TITLE="#3333FF"></TD>
							<TD BGCOLOR="#3366FF" TITLE="#3366FF"></TD>
							<TD BGCOLOR="#3399FF" TITLE="#3399FF"></TD>
							<TD BGCOLOR="#33CCFF" TITLE="#33CCFF"></TD>
							<TD BGCOLOR="#33FFFF" TITLE="#33FFFF"></TD>
							<TD BGCOLOR="#6600FF" TITLE="#6600FF"></TD>
							<TD BGCOLOR="#6633FF" TITLE="#6633FF"></TD>
							<TD BGCOLOR="#6666FF" TITLE="#6666FF"></TD>
							<TD BGCOLOR="#6699FF" TITLE="#6699FF"></TD>
							<TD BGCOLOR="#66CCFF" TITLE="#66CCFF"></TD>
							<TD BGCOLOR="#66FFFF" TITLE="#66FFFF"></TD>
						</tr>
						<tr>
							<TD BGCOLOR="#990000" TITLE="#990000"></TD>
							<TD BGCOLOR="#993300" TITLE="#993300"></TD>
							<TD BGCOLOR="#996600" TITLE="#996600"></TD>
							<TD BGCOLOR="#999900" TITLE="#999900"></TD>
							<TD BGCOLOR="#99CC00" TITLE="#99CC00"></TD>
							<TD BGCOLOR="#99FF00" TITLE="#99FF00"></TD>
							<TD BGCOLOR="#CC0000" TITLE="#CC0000"></TD>
							<TD BGCOLOR="#CC3300" TITLE="#CC3300"></TD>
							<TD BGCOLOR="#CC6600" TITLE="#CC6600"></TD>
							<TD BGCOLOR="#CC9900" TITLE="#CC9900"></TD>
							<TD BGCOLOR="#CCCC00" TITLE="#CCCC00"></TD>
							<TD BGCOLOR="#CCFF00" TITLE="#CCFF00"></TD>
							<TD BGCOLOR="#FF0000" TITLE="#FF0000"></TD>
							<TD BGCOLOR="#FF3300" TITLE="#FF3300"></TD>
							<TD BGCOLOR="#FF6600" TITLE="#FF6600"></TD>
							<TD BGCOLOR="#FF9900" TITLE="#FF9900"></TD>
							<TD BGCOLOR="#FFCC00" TITLE="#FFCC00"></TD>
							<TD BGCOLOR="#FFFF00" TITLE="#FFFF00"></TD>
						</tr>
						<tr>
							<TD BGCOLOR="#990033" TITLE="#990033"></TD>
							<TD BGCOLOR="#993333" TITLE="#993333"></TD>
							<TD BGCOLOR="#996633" TITLE="#996633"></TD>
							<TD BGCOLOR="#999933" TITLE="#999933"></TD>
							<TD BGCOLOR="#99CC33" TITLE="#99CC33"></TD>
							<TD BGCOLOR="#99FF33" TITLE="#99FF33"></TD>
							<TD BGCOLOR="#CC0033" TITLE="#CC0033"></TD>
							<TD BGCOLOR="#CC3333" TITLE="#CC3333"></TD>
							<TD BGCOLOR="#CC6633" TITLE="#CC6633"></TD>
							<TD BGCOLOR="#CC9933" TITLE="#CC9933"></TD>
							<TD BGCOLOR="#CCCC33" TITLE="#CCCC33"></TD>
							<TD BGCOLOR="#CCFF33" TITLE="#CCFF33"></TD>
							<TD BGCOLOR="#FF0033" TITLE="#FF0033"></TD>
							<TD BGCOLOR="#FF3333" TITLE="#FF3333"></TD>
							<TD BGCOLOR="#FF6633" TITLE="#FF6633"></TD>
							<TD BGCOLOR="#FF9933" TITLE="#FF9933"></TD>
							<TD BGCOLOR="#FFCC33" TITLE="#FFCC33"></TD>
							<TD BGCOLOR="#FFFF33" TITLE="#FFFF33"></TD>
						</tr>
						<tr>
							<TD BGCOLOR="#990066" TITLE="#990066"></TD>
							<TD BGCOLOR="#993366" TITLE="#993366"></TD>
							<TD BGCOLOR="#996666" TITLE="#996666"></TD>
							<TD BGCOLOR="#999966" TITLE="#999966"></TD>
							<TD BGCOLOR="#99CC66" TITLE="#99CC66"></TD>
							<TD BGCOLOR="#99FF66" TITLE="#99FF66"></TD>
							<TD BGCOLOR="#CC0066" TITLE="#CC0066"></TD>
							<TD BGCOLOR="#CC3366" TITLE="#CC3366"></TD>
							<TD BGCOLOR="#CC6666" TITLE="#CC6666"></TD>
							<TD BGCOLOR="#CC9966" TITLE="#CC9966"></TD>
							<TD BGCOLOR="#CCCC66" TITLE="#CCCC66"></TD>
							<TD BGCOLOR="#CCFF66" TITLE="#CCFF66"></TD>
							<TD BGCOLOR="#FF0066" TITLE="#FF0066"></TD>
							<TD BGCOLOR="#FF3366" TITLE="#FF3366"></TD>
							<TD BGCOLOR="#FF6666" TITLE="#FF6666"></TD>
							<TD BGCOLOR="#FF9966" TITLE="#FF9966"></TD>
							<TD BGCOLOR="#FFCC66" TITLE="#FFCC66"></TD>
							<TD BGCOLOR="#FFFF66" TITLE="#FFFF66"></TD>
						</tr>
						<tr>
							<TD BGCOLOR="#990099" TITLE="#990099"></TD>
							<TD BGCOLOR="#993399" TITLE="#993399"></TD>
							<TD BGCOLOR="#996699" TITLE="#996699"></TD>
							<TD BGCOLOR="#999999" TITLE="#999999"></TD>
							<TD BGCOLOR="#99CC99" TITLE="#99CC99"></TD>
							<TD BGCOLOR="#99FF99" TITLE="#99FF99"></TD>
							<TD BGCOLOR="#CC0099" TITLE="#CC0099"></TD>
							<TD BGCOLOR="#CC3399" TITLE="#CC3399"></TD>
							<TD BGCOLOR="#CC6699" TITLE="#CC6699"></TD>
							<TD BGCOLOR="#CC9999" TITLE="#CC9999"></TD>
							<TD BGCOLOR="#CCCC99" TITLE="#CCCC99"></TD>
							<TD BGCOLOR="#CCFF99" TITLE="#CCFF99"></TD>
							<TD BGCOLOR="#FF0099" TITLE="#FF0099"></TD>
							<TD BGCOLOR="#FF3399" TITLE="#FF3399"></TD>
							<TD BGCOLOR="#FF6699" TITLE="#FF6699"></TD>
							<TD BGCOLOR="#FF9999" TITLE="#FF9999"></TD>
							<TD BGCOLOR="#FFCC99" TITLE="#FFCC99"></TD>
							<TD BGCOLOR="#FFFF99" TITLE="#FFFF99"></TD>
						</tr>
						<tr>
							<TD BGCOLOR="#9900CC" TITLE="#9900CC"></TD>
							<TD BGCOLOR="#9933CC" TITLE="#9933CC"></TD>
							<TD BGCOLOR="#9966CC" TITLE="#9966CC"></TD>
							<TD BGCOLOR="#9999CC" TITLE="#9999CC"></TD>
							<TD BGCOLOR="#99CCCC" TITLE="#99CCCC"></TD>
							<TD BGCOLOR="#99FFCC" TITLE="#99FFCC"></TD>
							<TD BGCOLOR="#CC00CC" TITLE="#CC00CC"></TD>
							<TD BGCOLOR="#CC33CC" TITLE="#CC33CC"></TD>
							<TD BGCOLOR="#CC66CC" TITLE="#CC66CC"></TD>
							<TD BGCOLOR="#CC99CC" TITLE="#CC99CC"></TD>
							<TD BGCOLOR="#CCCCCC" TITLE="#CCCCCC"></TD>
							<TD BGCOLOR="#CCFFCC" TITLE="#CCFFCC"></TD>
							<TD BGCOLOR="#FF00CC" TITLE="#FF00CC"></TD>
							<TD BGCOLOR="#FF33CC" TITLE="#FF33CC"></TD>
							<TD BGCOLOR="#FF66CC" TITLE="#FF66CC"></TD>
							<TD BGCOLOR="#FF99CC" TITLE="#FF99CC"></TD>
							<TD BGCOLOR="#FFCCCC" TITLE="#FFCCCC"></TD>
							<TD BGCOLOR="#FFFFCC" TITLE="#FFFFCC"></TD>
						</tr>
						<tr>
							<TD BGCOLOR="#9900FF" TITLE="#9900FF"></TD>
							<TD BGCOLOR="#9933FF" TITLE="#9933FF"></TD>
							<TD BGCOLOR="#9966FF" TITLE="#9966FF"></TD>
							<TD BGCOLOR="#9999FF" TITLE="#9999FF"></TD>
							<TD BGCOLOR="#99CCFF" TITLE="#99CCFF"></TD>
							<TD BGCOLOR="#99FFFF" TITLE="#99FFFF"></TD>
							<TD BGCOLOR="#CC00FF" TITLE="#CC00FF"></TD>
							<TD BGCOLOR="#CC33FF" TITLE="#CC33FF"></TD>
							<TD BGCOLOR="#CC66FF" TITLE="#CC66FF"></TD>
							<TD BGCOLOR="#CC99FF" TITLE="#CC99FF"></TD>
							<TD BGCOLOR="#CCCCFF" TITLE="#CCCCFF"></TD>
							<TD BGCOLOR="#CCFFFF" TITLE="#CCFFFF"></TD>
							<TD BGCOLOR="#FF00FF" TITLE="#FF00FF"></TD>
							<TD BGCOLOR="#FF33FF" TITLE="#FF33FF"></TD>
							<TD BGCOLOR="#FF66FF" TITLE="#FF66FF"></TD>
							<TD BGCOLOR="#FF99FF" TITLE="#FF99FF"></TD>
							<TD BGCOLOR="#FFCCFF" TITLE="#FFCCFF"></TD>
							<TD BGCOLOR="#FFFFFF" TITLE="#FFFFFF"></TD>
						</tr>
						<tr>
							<TD BGCOLOR="#000000" TITLE="#000000"></TD>
							<TD BGCOLOR="#333333" TITLE="#333333"></TD>
							<TD BGCOLOR="#666666" TITLE="#666666"></TD>
							<TD BGCOLOR="#999999" TITLE="#999999"></TD>
							<TD BGCOLOR="#CCCCCC" TITLE="#CCCCCC"></TD>
							<TD BGCOLOR="#FFFFFF" TITLE="#FFFFFF"></TD>
							<TD BGCOLOR="#000000" TITLE="#000000"></TD>
							<TD BGCOLOR="#000000" TITLE="#000000"></TD>
							<TD BGCOLOR="#000000" TITLE="#000000"></TD>
							<TD BGCOLOR="#000000" TITLE="#000000"></TD>
							<TD BGCOLOR="#000000" TITLE="#000000"></TD>
							<TD BGCOLOR="#000000" TITLE="#000000"></TD>
							<TD BGCOLOR="#000000" TITLE="#000000"></TD>
							<TD BGCOLOR="#000000" TITLE="#000000"></TD>
							<TD BGCOLOR="#000000" TITLE="#000000"></TD>
							<TD BGCOLOR="#000000" TITLE="#000000"></TD>
							<TD BGCOLOR="#000000" TITLE="#000000"></TD>
							<TD BGCOLOR="#000000" TITLE="#000000"></TD>
						</tr>
					</TABLE>
				</td>
				<td></td>
				<td VALIGN="top" align="left" nowrap style="font-family:Arial; font-size:11px;">
					<button name="btnOK" style="width:75px; height:22px; margin-top:0px" accesskey="o"><u>
							O</u>K</button><br>
					<button name="btnCancel" style="width:75px; height:22px; margin-top:7px" onClick="window.close();">Close</button><br>
					<button name="btnClear" style="width:75px; height:22px; margin-top:7px; margin-bottom:7px" onClick="">Clear</button><br>
					Highlight:
					<div style="height:20px; width:74px; border-width:1px; border-style:solid;" id="hicolor"></div>
					<div style="width:75px; text-align:right; margin-bottom:7px;" id="hicolortext"></div>
					Selected:
					<div style="height:20px; width:74px; border-width:1px; border-style:solid;" id="selhicolor"></div>
					<INPUT TYPE="text" ID="selcolor" style="width:75px; height:20px; margin-top:0px; margin-bottom:7px;" maxlength="20">
				</td>
			</tr>
	</BODY>
</HTML>
